update async for jqueries