delete old data, update course info