updates table names in DB to match php