Updated atomic to use mutating