rebuild app templates