Update session variable