updating some end of array issues