updated api name for the 3.0 and above versions