adding updates to paintRoute and calcRoute