update ganttChart script.