fix creating indices (check if already exists), fix checking changes