update URL for subtemplate