Updates main classes