fixed missing write update that uses data size