update dependency and preprocessing