updating forms with input type number