add collected bugs into the bug_report table in database