update url to reflect context