update dependency and use filter