updating API version in stats cache