update specs to remove deprecation warnings