fleshed out the interface
started updating and inserting rows