update some session to the spring security