update the controllers, and the number input type