update template and the chef init file