update data ref