Diamanti takes Bologna to 40