Updates to the api and connect docs