Edit database, create database and start model in the database.

Also create update function for transporter