How to make fresh version of update folder in magento 2 root using composer?

composer create-project --repository=https://repo.magento.com magento/project-community-edition=2.3.5 temp_dir --no-install

Remove the old update/ directory and move temp_dir/update/ to the update/ directory:

 

rm -rf update

mv temp_dir/update .

rm -rf temp_dir