added skin IDs and using it for upsert check