update to match passport api