change pagination variable