update log and comments