fixed race condition in updating registry.updateAt record