update file with uneven spaced mesh