def Update(self):
        #self.led = state
        # create a DC for drawing in to the bitmap memory
        bdc = wx.MemoryDC(); 
        bdc.SelectObject(self.bmp); 

        # First clear the background
        #bdc.SetBrush(wx.Brush("WHITE"))
        #bdc.SetPen(wx.Pen("WHITE"))
        #bdc.DrawRectangle(0, 0, self.node_radius * 2 + 4, self.node_radius * 2 + 4)

        # Now draw our default node
        #bdc.SetBrush(wx.Brush(self.node_color))

        #if self.model.GetLedState() == 1:
        #    bdc.SetPen(wx.Pen(self.node_outline, 4))
        #else:
        #    bdc.SetPen(wx.Pen("RED", 4))

        #bdc.DrawEllipse(0, 0, self.node_radius * 2, self.node_radius * 2)
        bdc.SetBrush(wx.Brush("DARKGREEN"))
        bdc.SetPen(wx.Pen("DARKGREEN"))
        bdc.DrawRectangle(0, 0, 2 * self.node_radius, 3 * self.node_radius)