added sessionLibraryUpdate event code