updated
better sync among export and preparecache