moving files and updating references