https://devscopeninjas.azurewebsites.net/2017/04/24/sharpeoint-update-lists-of-provider-hosted-apps-without-losing-data/
SharePoint - Update provider hosted apps lists without losing data