course update function added