Update isLocalSession