Edit updateFavoriteAdapter function