Thiago Silva extends at Milan