upgrade 1/3, root-level files
upgrade 2/3, replaced casper and core folders