update docs
made the console use the API