updates snapshot