updating config and fixing date issue