bulk: update index as we process commands.