updated client for new api
added versions