Update pagination number