addUpdateHandler now returns a CallbackRegistration