added refresh map service to flushData()