fixed the problem that updates all rows, because no condition is set.