add unit tests for update button and registryUpdate event