Update home assistant core using automation action or using script?

Is there a way to update the home assistant core using a script or automation? I actually want to find a way to update the os and also the supervisor as well via an automation. I want to make something that automatically makes a full backup, waits until it’s backed up to Google drive completely, then notifies me and starts an update when I turn on a input boolean, then notifies me upon completion, them restarts when I turn on another boolean. Seems easier then doing it manually and allows me to let someone else do it without any other administrative access.

Your first question is already asked/answered multiple times: Automation update Home assistant core - #10 by Pablo_Gustavo_Fiscel

For the others: I don’t know, have you searched the forum?