Reload config when reloading the database.

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>