Update Core.cs