update url and views