callback with error and model when saveandindex