update stack 2 method