Don't update the session if there are no changes.