Second variation of Zhang's λ-invariant on the moduli space of curves