Update refs after renaming file