update post stack and heap