adding new tests for update
first attempt at preserving json style