s3-printing: Added function to update the queue.