finish unit tests for update_ids