update main buttons