reordering, metadata update