save upload type