Fixed update functions (sessions now closing)