writeLink template updated