Updating db record
Added log files, cleaned up environment for db