Prototype Update and reorder documents