ajax status change and update