update form to return input