update policy functionality