update items and reorder them