update stack, queue
update stack, queue