new update on saving state