fixed tracking part of API to only keep latest tracking, also added timestamp to tracking