add uploadfile to update subcommand