update writing module for parser