update atomic sample