how to update data in json server