api: update/delete api

implemented uid/path/parent_id/id feature to
find the object to update/delete