Update sql statements