$STY still reflects the old session name, but only in existing shells.