add path transitions