added option for bulk updates