eliminate need to do redundant mark all as analyzed by seperating insert/update funcionality of db.
remove dead code
Merge branch 'seperate_insert_from_update' into timeline_and_image_analyzer