Updating with netbeans