update path based on EMR settings