updated dependencies and fixed small bug