add support for set_version