applicationinsights_update_application function

Updates the application