replaced databse configuration