Edit course function add