Only replace if there is no insert function