update pagination link for proper incrementation and destroy plugin when there's no more links