Added indexes to db