Update course file with new contents