Update shorthand sql and db.