change structure, logs and cache to data