add missing indexes to db