updated each section of log parsing and db importing