after database config