updated image ref within template