[attrtable] Only update table at the end of an edit command
Fix #9315