Fixed issue where update was overwriting previous writes to mongo. Logic was put in the jobs class and should probably be moved to DataSet for better cohesion and lower coupling of mongo logic.