cleaning up after update