def update_grid_service(grid_service, force: false)
      if grid_service.changed? || force
        grid_service.revision += 1
        info "updating service #{grid_service.to_path} revision #{grid_service.revision} with changes: #{document_changes(grid_service)}"
      else
        debug "not updating service #{grid_service.to_path} revision #{grid_service.revision} without changes"
      end

      save_grid_service(grid_service)
    end
def update_grid_service(grid_service, force: false)
      if grid_service.changed? || force
        grid_service.revision += 1
        info "updating service #{grid_service.to_path} revision #{grid_service.revision} with changes: #{document_changes(grid_service)}"
      else
        debug "not updating service #{grid_service.to_path} revision #{grid_service.revision} without changes"
      end

      save_grid_service(grid_service)
    end
Bump grid_service.revision if changed or force, and save
 Adds errors if save fails

 @param grid_service [GridService]
 @param force [Boolean] force-update revision
 @return [GridService] nil if error