added ! methods to save model state to db