ajax update for spinner