Update dependencies and remove a deprecated method call.