update SynWrite