added flushed argument to FPSCounter#update
implemented almost all of write procedure except Label in pmd2