Update HeartManager.cs