updated composer and fixed 'unique' issue