finish editing the unit divs