update public and private setting policy