Preventing creation of duplicate cache objects. Now save method should perform update instead of insert if possible.