Added UpdateQuery for  handle sql update statement