update md,fixed  logs dir question