add feature that refresh session data on change