update session check