Added parameter to set db version