Self-consistent u-matrix for Green's functions