update initialize def to add @base_url