add callbacks to model create & edit