update for fav and mix up function