modify sample template and style dir source