updates array-based LL