Set the subscription_history variable after sync is completed.