update py cookies