Added update function

PushSession won`t work!
Merge branch 'master' of https://github.com/asterixom/CookieApp.git