diff --git a/jobs-actix/Cargo.toml b/jobs-actix/Cargo.toml
index 2a761e8..8c6745d 100644
--- a/jobs-actix/Cargo.toml
+++ b/jobs-actix/Cargo.toml
@@ -16,7 +16,7 @@ failure = "0.1"
futures = "0.1"
log = "0.4"
num_cpus = "1.10.0"
-rand = "0.6.5"
+rand = "0.7.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
diff --git a/jobs-sled/Cargo.toml b/jobs-sled/Cargo.toml
index 7ae80b2..6f69e8d 100644
--- a/jobs-sled/Cargo.toml
+++ b/jobs-sled/Cargo.toml
@@ -14,6 +14,6 @@ edition = "2018"
background-jobs-core = { version = "0.6", path = "../jobs-core" }
chrono = "0.4"
failure = "0.1"
-sled = "0.24"
+sled = "0.26"
serde = "1.0"
serde_json = "1.0"
diff --git a/jobs-sled/src/lib.rs b/jobs-sled/src/lib.rs
index 176d256..9cd467a 100644
--- a/jobs-sled/src/lib.rs
+++ b/jobs-sled/src/lib.rs
@@ -27,7 +27,7 @@ impl Storage for SledStorage {
}
fn save_job(&mut self, job: JobInfo) -> Result<()> {
- self.jobinfo.set(&job_key(job.id()), job).map(|_| ())
+ self.jobinfo.insert(&job_key(job.id()), job).map(|_| ())
}
fn fetch_job(&mut self, id: u64) -> Result