Fix insertUpdate so that there are both insert and update values.