Update index creation in intialize database