change the attribute widget