put_data function

Write values to a bedrockdb.