ui update and button update