how to can i make my application update?

I'm developing a desktop application in electron with nodejs and I want to be able to update the application when it is already finished and installed on other computers. how to can i do it this?