handle new API version