update W3 gradient direction notation