customize model issue, move code update in controller to model issue