fixed updated api