added save for cookiemap