* handle entity deletion
* handle versioning