update pre&next_btn