update and insert return arrays
v0.2.6