updates save class