Some tweaks to ordering

Setting the needsUpdate flags after setting all the buffers
Adding in a missing step for the index construction