Add UpdateQueueItem::id to keep track of the id in every item. Replaces thhe hack in update_queue_push().