updates after saving