update session and test doc