convert project to use 2.x APIs