update register method
New Callback method.