update autoconfigure script