updating policy obj in dynamicClient poc