Update Avatar URL for a user through Automation

Hello,

We have a requirement to update user's Avatar through automation job. Can anyone suggest how we can achieve this?

Thanks