updated rickshaw graph in js