update buttons working