update generate dok