Shutdown options?

I am currently trying to edit the _ init_.py file under
/home/cpi/apps/launcher/Menu/GameShell/PowerOff
and
/home/cpi/apps/launcher/Menu/GameShell/10_Settings/PowerOff
to get power options like “Refresh” (so we don’t need to reboot to see menu changes or enter and leave Retroarch) and “Reboot” which is self explanatory.

Embarrassingly, I’ve only been able to add “Reboot”. Does anyone know how to refresh (update, software restart) the menu command-wise?