Get "elasticesearch conflicts with elasticsearch-oss-0:6.6.1-1.noarch" during upgrade

I had tried to run rpm -U to upgrade, resulted with same error.

To remove existing package with rpm -e, are the existing data and configuration files still there? need to keep the data and config, but upgrade the Elasticsearch version only....

thanks!