Updates jQuery .ajax post requests