update input (required fields)