created a stronger cmd_updt() that broadcasts the env change to system processes when finished updating env in the registry and for the current process