Updating and cleaning up.