updated sql helper to version 2 + impl'ed update method to run new insert
fixed PK issue