update bug sample