Updated to block.io api. Fixed #1