update fields from json