fix for dynamic sql update statement creation