clean up after update

once update is done, set the status to GC_IN_PROGRESS.
Set the nodes that where updated to UNPROCESSED.
Trigger process_ready_resources on these recources.
Delete older versions from DB, and instruct worker to delete the
phy_resource.
When a resource is deleted, also delete the edges from resource_graph
TODO: concurrent updates. And more testing.