I updated to gnome 47 , I can't login to either the wayland or the X11 session

You will have to manually edit /boot/grub/grub.cfg so it points to your actual installation instead of a snapshot. This old thread is a similar case: