updates Queue#update method