update log method