Fixed update on exit