locked -> frozen
update template