Fixed model updating via API call