add validation, support sub categories update in privacy context sync batch