created updates controller and update model