update deps, simplify sample