fixed jquery and update pages