creating and connecting to a database now update the db properties