pass model to save callback