Added a function to database for updating a database variable from a cradle connection and database name.  Added this function call to app to update the database in case there was a change.