fix a issue in update

1: json field will be updated every time.  [fixed]
2: crash when no field was changed when update. [fixed]