updated api file to latest state