Adentro Interview Question

Write a function to update a DB given specific data.