upgrade for session