update driver code