fix problem writing files async
update readme file