Update sample_cookie.cc