update dependencies and example