add Rest api for updating provider configuration