update session controller