use json to serialize updates