update json commands.