Update links correctly after directory rename