Update chart.rb