Magnetism and superconductivity of the U(Pt, Pd)3 system