add indices to db