changing cocktail dependency and fixed code example in README.md