update attribute definition