put api version into config