Update cmd_chart.js