update md -> delete space