update model controller