Amendments to client side db example