Fixed update sessions
Merge pull request #627 from anandpdoshi/update-session

Fixed update sessions