Correctly fill the updates slice.