updating update method to only issue set statements for modified rows and counters
fixing container column bug that would write insert empty container columns
adding tests around empty container insert bug fix