Update Main Method