editing base and index