update env with new url path