fix cache key
migrate old docs