update database to use lower case table names