fix entity update stack to spl object