adding start and end time + previous update - dont update database if its the same location