update clearing