updates the gantt chart