update cookie handle