updates template paths