Update favorite api