api update, added output