The creation of insert/update statements should be two separate methods
we now use two separate functions for this.