improved performance for bulk updates