update styles of last two button's committed