Ajax graphs update