Update Log File and Misc stuff