change update model to take string argument