Update session expiration functionality