Updating graph time complexities with colour coding.