add timestamp in history model