add overload of Update to support batch update