Add support root directories in html's urls

Add functionality for updates local downloaded files