Update application session logic