update referrer setting template