model changes for modal