index.js
function editAddressBook(callback,id,bookName) {
    if ((id===undefined) || (bookName === undefined) || (! bookName.length)) {
        return callback(returnError("Empty book name or book id"));
    }
    var data = {name: bookName};
    sendRequest( 'addressbooks/' + id, 'PUT', data, true, callback );
}
function editAddressBook(callback,id,bookName) {
    if ((id===undefined) || (bookName === undefined) || (! bookName.length)) {
        return callback(returnError("Empty book name or book id"));
    }
    var data = {name: bookName};
    sendRequest( 'addressbooks/' + id, 'PUT', data, true, callback );
}
Edit address book name

@param callback
@param id
@param bookName