this works 100% for update

Need to check returned "n" updated.   Probably should be re-written but I didn't want to forget to make this point.