snapshot the changes