update sort settings and button