History api update