Update queue structure