Now the fields are updated corresponding to the mesh change only if the optional "fields" switch is set true.