update signatures of numpy reduction functions