model base create, update and delete