Update associate JS and pagination