uploading template dir