Update Capacitor.cs