make setup if uri is db instance