update the comment of context switch according to class note