Update sequence stack.