Added button text update function