added persistent stack
update