modify write