Update api and docs