Updated logic to update cattle. Created a way to reset the file.log