update component/to-function dep