set provider id and id