update maxlength attr on input fields to match