reset api changed cookie