update spec templete