Update tcr_database.class.php