PHOENIX-1343 array upsert unique function protype