update weighted sse