Update course length