Replace now takes index, delete takes target