update log weight, dummify context