update chat box session management