Added some logging
Improved setting last updated time on encodings and locations
Improvements to setting last updated time and more tests