add support for bulk updates