db upgrade(cookies)