commit model changes