update with valid json