Update Main Class