updated legacy tags to Craft CMS tags