updating ajax data loading model