update data and src