second update with ajax