Updated to latest code
Updated docs to apiv2 version