Fix in onlineupdate function if the file does not exists.