change db from archive to cache