update content, rearrange links