update gateway for interface dynamically

Here is the script:

http://forum.mikrotik.com/t/how-to-route-on-dynamic-gateway/12184/1