In this paper, we address the problem of achieving synchronization in networks of nonlinear units coupled by dynamic diffusive terms. We present two types of couplings consisting of a static linear term, corresponding to the diffusive coupling, and a dynamic term which can be either the integral or the derivative of the sum of the mismatches between the states of neighbouring agents. The resulting dynamic coupling strategy is a distributed proportional-integral (PI) or a proportional-derivative (PD) law that is shown to be effective in improving the network synchronization performance, for example, when the dynamics at nodes are nonidentical. We assess the stability of the network by extending the classical Master Stability Function approach to the case where the links are dynamic ones of PI/PD type. We validate our approach via a set of representative examples including networks of chaotic Lorenz and networks of nonlinear mechanical systems.