Do atomic replaces