updating for bitcion 0.9