changed properties to hstore and added index