Save latest state