avoid a potential crash in table update