bugfix in table update.