Escape slash in url to "%2F", added url update function