edit upload tmpl