update the logger