Update session when changes occur