model question and database update