Fix unit test for update name