updated automatic topic parsing