fixes the updateset functionality