update to set IDs using sequence