small api update for console