Change reference name and location