created an update database function to clean up the insulin.py module.