updating dequeue and print placement