implement index management after parsing schema