Update GraphicsDevice.cs