fix a issue in update while primkey column is empty.