Use PS to paste the avatars you want to replace into the animated pictures one by one.
Create a new file in UleadGif, set the size and frame number, then copy and paste the PS modified pictures into the frames of the new animation file in sequence, and finally save them as Gif files. .