update some layouts and urls.