update threads and switched to netbeans