Update dms-write.psf