Update graphics.cs