Add max length to fields