updated structures and units
added taking damage to units