update config for upload