fix update calculations after destroy row