BS-7210
Update reference ids in template