db_classes now handles updates easily
update statement for KeyValue table