update favorite button