update initscript and config templates