Update log module and add some comments