Update to use MainPOM