update data segment