update file writing interface