Is there a no-confirm option to update the os?

If you want to update your system just use yay