update records from oDesk, and records events in separate history table