made append to stream async
completed merge