update favorite method