update buttons view