kontrol/storage: add Upsert method to fix reconnection problems