cleanup after changes sync