code to add bulk update stuff