Adding test and docs for update_objects