Fixed insert to handle non hilo inserts. Update now uses the new updateHelper.
Finished up INSERT ON DUPLICATE KEY UPDATE and added a test for it.