When data is refreshed from the feed, insert into database, connect it to the flight and calculate distance travelled since last position update.