fix a bug of write
update
update
Update Documentation