update after adding text file check