adapt to new data