In simple terms, after updating/installing the app, check the DB on the device (you can check the number of columns, version, etc) if it matches the latest version, you are done, otherwise, modify the DB adding/removing the necessary columns.
There are samples posted in the forums, do a little research.