little refactor in updateFavs()