fix documentation
use version 3 by default and provide option to change version