bug fix for row updates