update file wrong