Pulling the mReplace function within the save success function