update template directory to stylesheet directory path