created new class for auto-updating deposition graph