Update dal.py

I think It will be useful to update the table contents and to validate the data previously.

On the other hand, I think there is something weird in the update_or_insert definition (Class table) because it is not working properly on data updating.
Merge pull request #176 from mcabo/patch-1

Update dal.py