updating markup and button styles