script to synchronize map-portal data