Updated history plugin