updated the template directory structure