replace uri in delete mapping