Added database configuration and db update script