change and save prefix and index settings