updated spec for resources