create new cookie in key_method_2_write