add location history to the piece table