update Log-function