Modifications to Database indexing