fixed update local weight