update api const
remove not connected
change return parameters