base template upload