Update stack and queue functions