revert database config and custom.js