add more options to register() and update()