Updated the input form