add make if not present method to indexes