test to update cookie