update simple arrays