updates progress bar using color code to reflect student's progress