improve data update statement