Write #update and #save methods for SQLObject.
Write #where method in Searchable module and extend module in SQLObject.