updated serviceImpl adn db connection setting