testing data logging and update registry