Publishing updates

Does anyone know if there is a way to publish updates to a map without changing the map code when you publish them?