added a function to store obtained application data to replication DB.