database hook working for bitcoin prices