Update TableFactory.php