Update curves when expression changes