update stock history