Cody Moreau, a worker from Horizon Homes, uses a hose to blow fill bays encased in a membrane with insulation in an attic in South Portland in this file photo from 2019. An updated statewide energy code for new homes and commercial buildings in Maine takes effect July 1.