updated cookies and mock