updating pinned item in-place