Updating the get_version method