extract UpdateLink method to investigate FileNotFoundException
move try-catch to both calls