Adding type to upload