adjusting table names in diagram