add "format" option when uploading