change some url and reset database