Update logging part