updated copy key in priority queue