update the DESIGN document according to the layers definition