upload of template