consider using batch update here