Fixed ajax update