I will add additional code to the update problem. By the way, why the keys of subs and pubs are different, which subs use topic_name, while pubs use topic_id?