update duplicity for accepting array