clean junk files and update some migrations