update to register