update version struct