Update poly_attribute.module

code import from uc_attribute.module