First, you need to uninstall the old version. And then install the new one. If upgrading from a version earlier than 0.3.8, you will need to transfer saves manually. If the version is newer, the saves should be transferred automatically.