Material title to title block update automation

One of users finds tedious to update material name via Route link template since, isnt red when it needs update and also requires more clicks so they are asking for scripts or kind of automation rule to be defined. What would be the logic of this script?

  1. User applies material from material database
  2. Script or some kind of automation copies material name to some XYZ attribute field which is mapped to drawing title block so it updates automatically upon change.

Any advice or documentation on this kind of requests?