figures out if/else functions to search for existing records, add if none and update if updated time has changed. Also adds threading for requests for details urls