upgrade the jsonadapter