Update session与cookie