update dependency and catch clause