change database model and application table. Intance is directly attached to application. It's the same for parameter