updateSession working