Updates to dirty and save callback