updated nxcreate and template and added key