Update parseTableName method