use hook to bind versionize API