update main and driver