update base url redirect