add index on status column