update determination of baseuri