change sessionstate