added the init_policy and add_policy functions update
added the init_policy and add_policy functions update