Record last course id perform