update history with dep history