Code refactor for attribute change in PropertyType('label' -->'title')