dict functions in txt file, alot of updates