update base url also