modify slim resource