added code that will update the DB automatically on a get request to /patientupdate with appropriately formatted data string.