add support for metadata update and delete