update spring security context