updated GrahicsModel

added error checking for null GraphicsObjects in update()