end of session update