delete data method added, replicateData now uses remoteStoreData