update tracking so session terminates before sql query happens