commit of template