How to add update function to plugin without adding it to https://wordpress.org/plugins/ [closed]

There are scripts available which can do the job for you. As per my understanding, you will have to host your plugin updates on a remote location so that the update checker can access that and do the necessary job.

You can take a look at this script which seems to be very useful as per the comments.

You can also find examples on that page which you can check with. This is also available on github.