Add save if key does not exist

Improve save by adding insert if key does not exist