Application of Upgraded X-ray Magnetic Diffraction Experimental System to 3d- and 4f-Electron Ferromagnets