update history sub to support start/end etc.