remove and create index on deploy