updated sampling