updated connection to db schem