update register controller