The only way to keep your pinned locations is to make a backup of the table 'geo_mapping' and then migrate the locations after you update the plugin

but it's necessary only when you update from v4 to v5, you don't need to do it every update