Wifi issues with Rpi + Ropieee

I have a Rpi 4 + hifiberry digi + that I connect to via wifi. for the first month or two it worked great. but now it gets dropped from wifi very regularly. Ropieee recently updated, but the problem occured prior to the update. The Rpi is in a room that is somewhat distant from the router, but my computer never has issues with wifi in the room.

do you think an antenna would help wiht the problem?

thanks for any insight you have.