Assimilating lithosphere and slab history in 4-D Earth models