Almost done with updatebatch just need to write sql