Modify references according to template