made update save as well