made non query statement return affected row count