model to DB query added