add partial update to sample