Save some data about instance in database.