Upgrade device on connect

Hi all.

how can I make a specific model that connects to the ACS server to receive the latest firmware when he first connects

thanks for the helpers.