update copyright
Write buffer flushing support.