Updating Class Main