fix when exception is raised on update_record_from_params