used update policy function and modified policy when link is up again