Search engine algo can be fairly considered as unchartered territories as only the search engines knows how their algo's exactly work.
On your query about replacing with new keywords - determine first if the old keywords you optimized for is actually converting. In SERP, the main gauge for me is conversion
