updating button history icon