sync updateCookie console output fix