Updated dot product