Ajax edit: name, date