make PUT add selfRef if it doesn't exist