updating push on exit