Added routine to update backedge array if in array changes. untested.