dataspace: fix bug in update()