I don’t know about that, but running only yay will update both packages from repos and AUR:
To update your system, simply run
yay
To update only Arch packages run
sudo pacman -Syu
see this post: What is the app that i can download new apps fr repo - #4 by 2000