update serviceTemplate and controllers template