update to work with URL