updates samples