update source start/stop mongodb automatically