update log method.
rebuild all.