Update connector API

edit

Refer to connectors API.