You can not change the length of a field once published. You can make a new field with a longer length, and then calculate the field from the old field to the new field. I hope that helps.
Just a reminder, if you add a field to a repeat, you'll need to add a dummy field in the original survey to get it to publish. This is a known bug.