Update sidebar on topic change.