Update maxlength on input to 500 chars