Fix infinite recursive call

* Add postupdate flag and use it to fix the infinite recusive call on
  luahook return update session.

Signed-off-by: Neutron Soutmun <neo.neutron@gmail.com>