changed url to api, updated version