update bug and analytic