update generators locomotive template