fix modifiable resource to actually work when last-modified timestamp is provided