Adding update functionality and binding routing to it
Creating helper function in db.js
Implementing the updateById function.
Adding routing for the update functionality in routing.js.