updated next button