Updating location of the samples