update with isBuffer