character attributes editing with ajax