Update version and cleanup API url retrieval