Update context switch