Update dependencies

Add Java example to monads post