Modify index