Updatehandler to main