update with ajax done