Update a router without memory

Good morning I would like to know how I can update a hAP Lite router without memory since the only way to reach it is remotely, which I do for a vpn and the winbox
Being remotely I can not apply the netinstall
I have deleted all the files in files and still in sufficient space, what can I do or what else can I delete without losing the remote management of the computer