Way to script pressing F5 on Plasma desktop?

When I use rclone to mount some remote drives, dead symlinks on the desktop become live symlinks.

If I press F5, the desktop icons change to reflect this.

Is there a way to script the equivalent of pressing F5 so when I run my rclone script this happens automatically?