changed AttributeType of key