updating version and returning href object instead of the string representation on getHref