Implemented data migration and consume the updated data in the client.