What is Update-resolv-conf and can I remove it?

I have had few up/down errors with openvpn log showing a problem with update-resolv-conf

I also noticed now that .ovpn files in /etc/openvpn have a couple of lines at the bottom referencing that.

I’m tempted to remove those lines - but wondered it’s purpose and if there would be any damage by doing so?