getAct update (takes an act an creates an array for substances and a flat array for all action items)