test for update registration