update Tbs.php