change type from string to picklist if has values