add target entry for patch function