course module updated with delete function