Add boudary and quality fields to tag_template