add url to TempateMessage object